<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">

    <div class="layui-card-body think-box-shadow padding-left-40">



        {if $type eq 1}
        {notempty name='info'}

        {foreach $info as $kk=>$vv}

        {notempty name='vv.url'}

        <img data-tips-image style="width:40px;height:40px;margin-bottom: 5px" src="{$vv.url|default=''}"
             class="margin-right-5 text-top">
        {/notempty}
        {if isset($vv.words)}
        <a data-modal="{:url('case1/ocr')}?content={$vv.words|default=''}">查看OCR</a>
        {else}
        <a data-modal="{:url('ocr')}?content=">查看OCR</a>
        {/if}
        <br>
        {/foreach}
        {/notempty}
        {elseif $type eq  2}

        {else}
        {$info|raw|default=''}
        {/if}
    </div>
</form>
<script>
    form.render();


</script>
</fieldset>
</script>

